package com.hzw.saas.api.user.enums;

/**
 * @author zzl
 * @since 05/27/2021
 */
public enum UserPropertyEnum {

    USERNAME("username","用户名"),
    PASSWORD("password","密码"),
    PHONE_NO("phoneNo","手机号"),
    EMAIL("email","邮箱"),
    ;

    private final String property;

    private final String description;

    UserPropertyEnum(String property, String description) {
        this.property = property;
        this.description = description;
    }

    public String property() {
        return property;
    }

    public String description() {
        return description;
    }
}
